<?php echo $this->doctype() ?><?php echo "\r\n"; ?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
        <?php echo $this->headTitle() ?><?php echo "\r\n"; ?>
        <?php echo $this->headMeta() ?><?php echo "\r\n"; ?>
        <?php echo $this->headLink(); ?><?php echo "\r\n"; ?>
        <?php echo $this->headScript(); ?><?php echo "\r\n"; ?>
    </head>

    <body>
        <div id="header">
            <h1>
                <p class="alignleft">
                    Minhlog.
                    <span id="site-title"><a title="查看站点" href="http://<?php echo $this->siteDomain; ?>">最大的失败是放弃,最大的敌人是自己,最大的对手是时间.</a></span>
                </p>
                <p class="alignright">
                    <span><a href="#"><?php echo $this->escape($_SESSION['Minhlog']['storage']->username) ?></a> | <a href="javascript:if(confirm('你确实要更新全站索引吗?'))location='/backend/search/build/'">更新索引</a> | <a href="javascript:if(confirm('你确实要更新全站缓存吗?'))location='/backend/del/cache/'">更新缓存</a> | <a href="/backend/user/logout/">退出</a></span>
                </p>
            </h1>
        </div>
        <div id="main">